//
//  GroupOrder.m
//  YYZB
//
//  Created by 信晨汇 on 2017/10/23.
//
//

#import "GroupOrder.h"

@implementation GroupOrder


- (instancetype)initWithDictionary:(NSDictionary *)d {
    
    GroupOrder *item = [self class].new;
    item.orderId = d[@"Id"];
    item.name = d[@"Name"];
    item.goodsnum = [d[@"Goodsnum"] integerValue];
    item.unit = d[@"Unit"];
    item.money = d[@"Money"];
    item.useNum = [d[@"UseNum"] integerValue];
    item.isService = [d[@"IsService"] integerValue];
    item.helperName = d[@"HelperName"];
    item.helperPhone = d[@"HelperPhone"];
    item.sqlnum = [d[@"Sqlnum"] integerValue];
    item.time = d[@"Time"];
    item.code = d[@"Code"];
    item.isPay = [d[@"IsPay"] integerValue];
    
    item.communityId = d[@"CommunityId"];
    item.groupBuyingCommunitiesDetailId = d[@"GroupBuyingCommunitiesDetailId"];
    item.serviceCat1Id = d[@"ServiceCat1Id"];


    return item;
}



@end
